package cn.ording.entity;

import java.util.HashSet;
import java.util.Set;


/**
 * Resources entity. @author MyEclipse Persistence Tools
 */

public class Resources  implements java.io.Serializable {


    // Fields    

     private Integer reid;
     private Resources resources;
     private Integer preid;
     private String resourceName;
     private String resourceUrl;
     private Set resourceses = new HashSet(0);
     private Set roles = new HashSet(0);


    // Constructors

    /** default constructor */
    public Resources() {
    }

	/** minimal constructor */
    public Resources(String resourceName, String resourceUrl) {
        this.resourceName = resourceName;
        this.resourceUrl = resourceUrl;
    }
    
    /** full constructor */
    public Resources(Resources resources, Integer preid, String resourceName, String resourceUrl, Set resourceses, Set roles) {
        this.resources = resources;
        this.preid = preid;
        this.resourceName = resourceName;
        this.resourceUrl = resourceUrl;
        this.resourceses = resourceses;
        this.roles = roles;
    }

   
    // Property accessors

    public Integer getReid() {
        return this.reid;
    }
    
    public void setReid(Integer reid) {
        this.reid = reid;
    }

    public Resources getResources() {
        return this.resources;
    }
    
    public void setResources(Resources resources) {
        this.resources = resources;
    }

    public Integer getPreid() {
        return this.preid;
    }
    
    public void setPreid(Integer preid) {
        this.preid = preid;
    }

    public String getResourceName() {
        return this.resourceName;
    }
    
    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceUrl() {
        return this.resourceUrl;
    }
    
    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public Set getResourceses() {
        return this.resourceses;
    }
    
    public void setResourceses(Set resourceses) {
        this.resourceses = resourceses;
    }

    public Set getRoles() {
        return this.roles;
    }
    
    public void setRoles(Set roles) {
        this.roles = roles;
    }
   








}